package com.ruoyi.youtian.domain.vo;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 场景检测点页面展示对象
 */
@Data
public class ScenePointVo extends BaseEntity implements Serializable {

    private static final long serialVersionUID = -1050293811134107103L;
    /**
     * 点位ID
     */
    private String pointId;

    /**
     * 场景ID
     */
    private Long tSceneId;

    private Long sceneId;

    private Long scenePointId;


    /**
     *  点位采集值
     */
    private long value;

    /**
     *  点位名称
     */
    private String pointName;

    /**
     * 场景名称
     */
    private String sceneName;

    /**
     * 上限值
     */
    private long upperLimit;

    /**
     * 下限值
     */
    private long lowerLimit;

    /**
     * 报警状态
     */

    private String alarmState;

    /**
     * 数据状态
     */
    private String dataState;

    /**
     * 影响因数
     */
    private String influenceFactor;


    /** 作业区ID **/
    private Integer zyqId;

    /** 作业区名称 **/
    private String zyqName;

    /** 二级单位ID */
    private Long ejdwId;

    /** 二级单位名称 */
    @Excel(name = "二级单位名称")
    private String ejdwName;

    /** 点位三级 */
    private Long dw_3_id;

    private String dw_3_name;

    /** 点位四级 */
    private Long dw_4_id;

    private String dw_4_name;

    /** 点位五级 */
    private Long dw_5_id;

    private String dw_5_name;

    /**
     * 一级名称
     */
    private Long bmid;

    private String bmName;

    /**
     * 部门编号
     */
    private Long deptId;

    /**
     * 部门名称
     */
    private String deptName;

    /**
     * 创建时间
     */
    private Date createtime;
    /**
     * 开始时间
     */
    private String reostartTime;
    /**
     * 结束时间
     */
    private String reoendTime;

    public ScenePointVo() {
    }

    public ScenePointVo(String pointId, Long tSceneId, Long sceneId, Long scenePointId, long value, String pointName, String sceneName, long upperLimit, long lowerLimit, String alarmState, String dataState, String influenceFactor, Integer zyqId, String zyqName, Long ejdwId, String ejdwName, Long dw_3_id, String dw_3_name, Long dw_4_id, String dw_4_name, Long dw_5_id, String dw_5_name, Long bmid, String bmName, Long deptId, String deptName, Date createtime, String reostartTime, String reoendTime) {
        this.pointId = pointId;
        this.tSceneId = tSceneId;
        this.sceneId = sceneId;
        this.scenePointId = scenePointId;
        this.value = value;
        this.pointName = pointName;
        this.sceneName = sceneName;
        this.upperLimit = upperLimit;
        this.lowerLimit = lowerLimit;
        this.alarmState = alarmState;
        this.dataState = dataState;
        this.influenceFactor = influenceFactor;
        this.zyqId = zyqId;
        this.zyqName = zyqName;
        this.ejdwId = ejdwId;
        this.ejdwName = ejdwName;
        this.dw_3_id = dw_3_id;
        this.dw_3_name = dw_3_name;
        this.dw_4_id = dw_4_id;
        this.dw_4_name = dw_4_name;
        this.dw_5_id = dw_5_id;
        this.dw_5_name = dw_5_name;
        this.bmid = bmid;
        this.bmName = bmName;
        this.deptId = deptId;
        this.deptName = deptName;
        this.createtime = createtime;
        this.reostartTime = reostartTime;
        this.reoendTime = reoendTime;
    }
}
